<template>
  <div class="">
    {{ info.name }}
  </div>
</template>

<script>
export default {
  data() {
    return {
      id: this.$route.query.id,
      info: "",
    };
  },
  mounted() {
    this.getdetail();
  },
  methods: {
    getdetail() {
      this.$axios
        .get(
          "http://shop.bufantec.com/bufan/goods/detailaction?openId=13216484256&id=" +
            this.id
        )
        .then((res) => {
          console.log(res);
          this.info = res.data.info;
        });
    },
  },
  components: {},
};
</script>

<style lang="scss"></style>
